package com.foruo.demo;

import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;

import java.util.concurrent.CountDownLatch;

@SpringBootApplication
public class ElasticJobApplication {
    public static void main(String[] args){
//        SpringApplication.run(DemoStarter.class, args);
        new SpringApplicationBuilder().sources(ElasticJobApplication.class).web(false).run(args);
        try {
            new CountDownLatch(1).await();
        } catch (InterruptedException e) {
        }
    }
}
